P2P: Signal controller to apply blocks if sync interrupted#1879
P2P: Signal controller to apply blocks if sync interrupted#1879heifner wants to merge 1 commit intoAntelopeIO:mainfrom
Conversation
…plying blocks. Give it a kick to make sure it continues.
|
hum, looking at the code I'm wondering if |
The |
Yes, but the post calls |
No. process_incoming_blocks -> calls on_incoming_block, then calls post( process_incoming_blocks ), and then current stack ends The post'ed task is picked up to execute: process_incoming_blocks -> calls on_incoming_block, then calls post( process_incoming_blocks ), and then current stack ends etc. |
|
How did I miss that. Thanks for pointing it out! |
It is possible due to an interrupt that the controller has stopped applying blocks. Give it a kick to make sure it continues.
I was not able to reproduce the problem, but looking at the logs I think this will fix the issue. Hopeful, to get feedback from reporter if this fixes the issue.
Resolves #1878